package com.itheima.mm.service;

import com.github.pagehelper.Page;
import com.itheima.mm.pojo.Company;
import com.itheima.mm.vo.CompanyVO;

import java.util.List;

/**
 * @Description CompanyService
 * @Author xiao
 * @Date 2024-06-26
 */
public interface CompanyService {
    List<CompanyVO> findListAll();

//    启用禁用
    boolean updateCompanyStatus(Integer id, Integer state);
//    分页查询
    Page<Company> findAllCompanies(int pageNum, int pageSize, String shortName, Integer isDis);

//新增企业
    void addCompany(Company company);
// 删除企业
 void deleteCompany(int id);
}
